package com.example.factory.absfactory.pay;


public class AbstractFactoryTest {
    public static void main(String[] args) {
        IAbstractPayFactory abstractPayFactory = new PayFactory();
        abstractPayFactory.createAliPay().pay();
        abstractPayFactory.createApplePay().pay();
    }
}
